import request from '../request.js'

export const getAllGroupApi = () => {
  return request.get('personnel/group/query/all')
}

export const getUserInfoByGroupIdAndNameApi = (groupId, name) => {
  return request.get(`personnel/user/like/query?groupId=${ groupId }&name=${ name }`)
}

export const getUserInfoByGroupIdAndStationIdApi = (groupId, stationId) => {
  return request.get(`personnel/user/like/query?groupId=${ groupId }&stationId=${ stationId }`)
}
